package com.futures.questionbank.my;

import android.widget.TextView;

import com.futures.questionbank.R;
import com.futures.questionbank.Utils.UItils;
import com.futures.questionbank.base.BaseActivity;
import com.futures.questionbank.db.table.zixun;
import com.raizlabs.android.dbflow.sql.language.SQLite;

import java.util.List;

import butterknife.BindView;

/**
 * author : huang
 * date   : 2020/6/17 0017 9:48
 * version: 1.0
 */
public class HelpActivity extends BaseActivity {
    @BindView(R.id.tv)
    TextView tv;

    @Override
    protected void loadViewLayout() {
        setContentView(R.layout.info_activity);
        setTitle("帮助中心");

    }

    @Override
    protected void loadData() {
        UItils.showDialog(this);
        List<zixun> sections1 = SQLite.select().
                from(zixun.class).queryList();
        tv.setText(sections1.get(1).getDesc());

    }
}
